import axios from '@/utils/request';

export function getSalaryMainList(params) {
    return axios.post({
        url: '/salary-main/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSalaryMain(params) {
    return axios.post({
        url: '/salary-main/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSalaryMain(params) {
    return axios.post({
        url: '/salary-main/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSalaryMain(params) {
    return axios.post({
        url: '/salary-main/load',
        data: params
    }).then((res) => {
        return res
    })
}

